package cn.ldf.keepaccounts.entity.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ldf
 * @code May there be no bugs in the world!
 */
@Data
public class AvatarFileDTO {
    /**
     * 头像base64
     */
    private String avatarBase64;
    /**
     * 文件类型
     */
    private String contentType;
    /**
     * 用户openId
     */
    @NotBlank(message = "openId不能为空")
    private String openId;
    /**
     * 昵称
     */
    private String nickname;
}
